Skip to content

Use pytest.mark.parametrize for ip4scout tests#48

Merged
dannywillems merged 2 commits intomainfrom
parametrize-ip4scout-tests
Feb 8, 2026
Merged

Use pytest.mark.parametrize for ip4scout tests#48
dannywillems merged 2 commits intomainfrom
parametrize-ip4scout-tests

Conversation

@dannywillems
Copy link
Contributor

Summary

  • Replace loop-based ip4scout test with pytest.mark.parametrize so each
    file is a distinct test case (visible in output, zero files = zero tests
    instead of silent pass)
  • Sort file list for deterministic test ordering
  • Simplify Path.iterdir/Path.is_file to instance method calls

Closes #32

Each ip4scout file is now a distinct test case, making zero files
visible in output instead of silently passing. Also sort the file
list for deterministic ordering and simplify Path method calls.

Closes #32
@dannywillems dannywillems merged commit 6a6967f into main Feb 8, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use pytest.mark.parametrize for IP4SCOUT test files

1 participant